﻿/*************************************************************************
 * Created by OhZee Creative, LLC
 * 2013
 * This code is licensed under Microsoft Public License (Ms-PL)
 * http://opensource.org/licenses/ms-pl
 * http://ozframework.codeplex.com/
 *************************************************************************/

namespace OhZeeCreative.Helpers
{
    #if SILVERLIGHT
    using System.Windows;
    #endif

    public static class AppHelper
    {
#if SILVERLIGHT
        public static bool IsDarkTheme(Application app)
        {
            return (Visibility)app.Resources["PhoneDarkThemeVisibility"] == Visibility.Visible;
        }
#endif
    }
}
